from typing import Any

from recruit.adapter.database.models import ResumeEducation
from tests.adapter.models.utils import check_fields, check_model_resume


def test_resume_education_model(get_resume_education) -> None:
    check_model_resume(ResumeEducation, get_resume_education)


def test_fields() -> None:
    fields = ('id',
              'resume_id',
              'year',
              'education_institution',
              'faculty',
              'specialization',
              'graduation_year')
    check_fields(fields, ResumeEducation)
